package com.totoro.tygeneratedragonblock.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * @author Totoro
 * @version 0.1.0
 * @date 2025/8/10 - 2:25
 * @description 方块定义类
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BlockDefinition {
    private String id;
    private String blockName;
    private String match;
    private NameDisplayLocation nameDisplayLocation;
    private List<String> itemMatch;
    private List<String> condition;
    private Map<String, String> valueSet;
    private List<String> drops;
    private String exp;
    private List<String> actions;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @ToString
    public class NameDisplayLocation {
        private double x;
        private double y;
        private double z;
    }
}
